Expand description
Modules§
- Named primary, secondary and tertiary colors.
- Color filter effect.
- Gradient types.
- Named web colors.
Macros§
- Hexadecimal color literal.
- Creates a
GradientStops
containing the arguments.
Structs§
- Represents a dark and light color.
- HSL + alpha.
- HSV + alpha
- Pre-multiplied RGB + alpha.
- RGB + alpha.
- Color functions argument conversion helper.
Enums§
- Color scheme preference.
- Defines the color space for color interpolation.
- Color mix blend mode.
Statics§
- Defines the preferred color scheme in a context.
Traits§
- Color mix and adjustment methods.
Functions§
- Create a variable that selects the
ColorPair
highlight depending on the contextualCOLOR_SCHEME_VAR
. - Create a variable that selects the
ColorPair
depending on the contextualCOLOR_SCHEME_VAR
. - HSL color, opaque, alpha is set to
1.0
. - HSLA color.
- Animation sampler that sets the
lerp_space
toLerpSpace::HslaLinear
. - Animation sampler that sets the
lerp_space
toLerpSpace::Hsla
. - HSV color, opaque, alpha is set to
1.0
. - HSVA color.
- Default implementation of lerp for
Rgba
in apps. - Gets the lerp space used for color interpolation.
- RGB color, opaque, alpha is set to
1.0
. - RGBA color.
- Animation sampler that sets the
lerp_space
toLerpSpace::Rgba
.
Type Aliases§
- Webrender
MixBlendMode
.